﻿package com.menfan.saas.domain;

import java.util.Date;

public class MediaDetailEntity {
    /**
    * 主键
    */
    private Long id;

    private Integer itemId;

    /**
    * 1:图片，2视频，3文本
    */
    private String mediaType;

    /**
    * 位置，header,和body
    */
    private String location;

    /**
    * 图片链接地址
    */
    private String imageUrl;

    /**
    * 视频地址链接
    */
    private String videoUrl;

    /**
    * 是否自动播放
    */
    private Boolean autoPlay;

    /**
    * 视频长度
    */
    private Integer playTime;

    /**
    * 图片排序 默认值是0
    */
    private Integer sort;

    /**
    * 是否删除
    */
    private Boolean isDelete;

    /**
    * 创建者
    */
    private String createUser;

    /**
    * 修改者
    */
    private String updateUser;

    private Date createTime;

    private Date updateTime;

    /**
    * 文本
    */
    private String text;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public String getMediaType() {
        return mediaType;
    }

    public void setMediaType(String mediaType) {
        this.mediaType = mediaType;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public Boolean getAutoPlay() {
        return autoPlay;
    }

    public void setAutoPlay(Boolean autoPlay) {
        this.autoPlay = autoPlay;
    }

    public Integer getPlayTime() {
        return playTime;
    }

    public void setPlayTime(Integer playTime) {
        this.playTime = playTime;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
}